#!/usr/bin/env python
#-*-coding:utf-8-*-

# "__init__.py" is part of Tarinca-COA (http://code.google.com/p/taringa-api/)
# Copyright (C) - 2010 Juan B Cabral <jbc dot develop at gmail dot com>

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.


################################################################################
# DOCS
################################################################################

"""Python API para Taringa.

La API (Application Program Interface) de Taringa! permite a cualquier
aplicacion python interactuar con el contenido y/o información de Taringa! y
Poringa!
 
El uso de la API es gratuito. Es obligatorio para cada desarrollador
registrarse (http://www.taringa.net/api/peticion-form.php) como tal para obtener
una clave única de identificación para poder realizar las consultas a la API.

Cada método de llamada tiene un limite de consultas por minuto el cual se
detalla en la información ampliada de cada caso. Este limite no es por
aplicación, es para las IP que hace la consulta (clientes).

Mas Informacion: http://taringa.pbworks.com/

DEDICADO:
    A Pablo Verdenelli y a Alejandro García por la oportunidad.

"""

################################################################################
# META
################################################################################

__version__ = "0.2"
__license__ = "LGPL3"
__author__ = "JBC"
__since__ = "0.2"
__date__ = "2010-02-03"


################################################################################
# IMPORT
################################################################################

from connection import CALL_USERS_GET_USER_DATA
from connection import CALL_USERS_GET_LEVELS
from connection import CALL_USERS_GET_POSTS_COMMENTS
from connection import CALL_USERS_GET_POSTS_LIST
from connection import CALL_POSTS_GET_CATEGORIES
from connection import CALL_POSTS_GET_CLOUD_TAGS
from connection import CALL_SITE_GET_SITE_STATS
from connection import CALL_POSTS_GET_TOP_POSTS
from connection import CALL_POSTS_GET_TOP_USERS
from connection import CALL_POSTS_GET_POST_LIST
from connection import CALL_POSTS_GET_POST_DATA
from connection import CALL_POSTS_GET_POST_COMMENTS
from connection import CALL_POSTS_GET_SEARCH
from connection import CALL_POSTS_GET_POSTS_TAG
from connection import TIME_ALL_TIME
from connection import TIME_TODAY
from connection import TIME_YESTERDAY
from connection import TIME_LAST_WEEK
from connection import TIME_LAST_MONTH
from connection import TIME_LAS_TWO_MONTHS
from connection import POST_TOP_MAX_SCORE
from connection import POST_TOP_MAX_COMMENTS
from connection import POST_TOP_MOST_FAVORITES
from connection import POST_TOP_MOST_VISITED
from connection import CATEGORY_ALL
from connection import CATEGORY_NEWBIE
from connection import CATEGORY_FULL_USERS
from connection import USER_TOP_MAX_POST
from connection import USER_TOP_MAX_SCORE
from connection import ORDER_QUERY_RELEVANCE
from connection import ORDER_QUERY_DATE
from connection import ORDER_QUERY_SCORE
from connection import ORDER_TAG_SCORE
from connection import ORDER_TAG_DATE

from connection import TaringaConnection

from error import TaringaError

################################################################################
# MAIN
################################################################################

if __name__ == '__main__':
    print(__doc__)
